Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency rhysd/actionlint to v1.6.26 #522

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 18, 2023

Mend Renovate

This PR contains the following updates:

Package Update Change
rhysd/actionlint patch v1.6.25 -> v1.6.26

Release Notes

rhysd/actionlint (rhysd/actionlint)

v1.6.26

Compare Source

  • Several template fields and template actions were added. All fields and actions are listed in the document. Please read it for more details. (#​311)
    • By these additions, now actionlint can output the result in the SARIF format. SARIF is a format for the output of static analysis tools used by GitHub CodeQL. the example Go template to format actionlint output in SARIF.
      actionlint -format "$(cat /path/to/sarif_template.txt)" > output.json
    • allKinds returns the kinds (lint rules) information as an array. You can include what lint rules are defined in the command output.
    • toPascalCase converts snake case (foo_bar) or kebab case (foo-bar) into pascal case (FooBar).
  • Report an error when the condition at if: is always evaluated to true. See the check document to know more details. (#​272)

ERROR: All the following if: conditions are always evaluated to true

  • run: echo 'Commit is pushed'
    if: |
    ${{ github.event_name == 'push' }}
  • run: echo 'Commit is pushed'
    if: "${{ github.event_name == 'push' }} "
  • run: echo 'Commit is pushed to main'
    if: ${{ github.event_name == 'push' }} && ${{ github.ref_name == 'main' }}
- Fix actionlint didn't understand `${{ }}` placeholders in environment variable names. (#​312)
```yaml
env:
  "${{ steps.x.outputs.value }}": "..."
  • Fix type of matrix row when some expression is assigned to it with ${{ }} (#​285)
    strategy:
      matrix:
        test:

Matrix rows are assigned from JSON string

    - ${{ fromJson(inputs.matrix) }}

steps:
- run: echo ${{ matrix.test.foo.bar }}

- Fix checking `exclude` of matrix was incorrect when some matrix row is dynamically constructed with `${{ }}`. (#​261)
```yaml
strategy:
  matrix:
    build-type:
      - debug
      - ${{ fromJson(inputs.custom-build-type) }}
    exclude:
### 'release' is not listed in 'build-type' row, but it should not be reported as error
### since the second row of 'build-type' is dynamically constructed with ${{ }}.
      - build-type: release
  • Fix checking exclude of matrix was incorrect when object is nested at row of the matrix. (#​249)
    matrix:
      os:
        - name: Ubuntu
          matrix: ubuntu
        - name: Windows
          matrix: windows
      arch:
        - name: ARM
          matrix: arm
        - name: Intel
          matrix: intel
      exclude:

This should exclude { os: { name: Windows, matrix: windows }, arch: {name: ARM, matrix: arm } }

  - os:
      matrix: windows
    arch:
      matrix: arm
- Fix data race when `actionlint.yml` config file is used by multiple goroutines to check multiple workflow files. (#​333)
- Check keys' case sensitivity. (#​302)
```yaml
steps:
### ERROR: 'run:' is correct
  - ruN: echo "hello"

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (squash) September 18, 2023 14:34
@renovate renovate bot merged commit 2df13ef into main Sep 18, 2023
12 checks passed
@renovate renovate bot deleted the renovate/rhysd-actionlint-1.x branch September 18, 2023 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants